package com.ruoyi.common.enums;

/**
 * 开发单位：FESCO Adecco
 * 版权：FESCO Adecco
 *
 * @author：hechunbo
 * @since： JDK1.8
 * @version：1.1
 * @date：2025/8/18 最后更新日期：
 * 修改人：hechunbo
 */
public enum SaleOrPurchType {

    SALE(1, "销售"),
    PURCH(2, "采购"),

    // 审批状态枚举
    APPROVAL_NOT(0,"未审批"),      // 未发起审批
    APPROVAL_YN(1,"审批中"),       // 正在审批中
    APPROVAL_YES(2,"审批通过"),    // 审批通过
    APPROVAL_NO(3,"审批拒绝"),     // 审批拒绝


    SALE_PLAN(0,"salePlanServiceImpl"),    //销售计划
    PROUCRE_PLAN(1,"salePlanServiceImpl"), //采购计划
    SALE_WAYBILLS(2,"waybillsServiceImpl"),    //销售运单
    PROCURE_WAYBILLS(3,"waybillsServiceImpl"), //采购运单
    COLLECTION(4,"collectionsServiceImpl"),   //收退款
    FUNDS(5,"fundsServiceImpl"),        //账户


    FIRST_TYPE(0,"初始款"),
    COLLECTION_TYPE(1,"收款"),   //收退款
    REFUSE_TYPE(2,"退款"),

    DEDUTION_TYPE(3,"扣款"),;

    SaleOrPurchType(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;

    }

    public String getMessage() {
        return message;
    }
}
